package cn.jingzhuan.fm.mvp.contract

import cn.jingzhuan.fm.network.json.JsonResponse
import io.reactivex.Flowable

interface FMAudioCommentSendContract {

    interface Presenter{
        // 留言
        fun sendComment(audioId:String,content:String)
    }

    interface Model{
        fun sendComment(audioId:String,content:String): Flowable<JsonResponse<String>>
    }

    interface View {
        fun onSendCommentOver(result:Boolean,msg:String)
    }

}
